﻿@model _8_20_Homework.Models.Student
@{
    ViewBag.Title = "Edit";
}

<div class="jumbotron">
    <h2><span>@Model.Name</span>'s Details</h2>
</div>
<form>
    <table class="table table-bordered">
        <tr>
            <td>
                Name:
            </td>
            <td>
                <input type="text" id="name" name="name" value="@Model.Name" />
            </td>
        </tr>
        <tr>
            <td>Grade:</td>
            <td>
                <select name="grade" value="@Model.Grade">
                    <option value="Second">Second Grade</option>
                    <option value="Third">Third Grade</option>
                    <option value="Fourth">Fourth Grade</option>
                    <option value="Fifth">Fifth Grade</option>
                    <option value="Sixth">Sixth Grade</option>
                </select>
            </td>
        </tr>
        <tr>
            <td>
                Image:
            </td>
            <td>
                <input type="text" id="image" name="name" value="@Model.Image" /><br />
            </td>
        </tr>
        <tr>
            <td>
                Teacher:
            </td>
            <td>
                <input type="text" id="teacher" name="teacher" value="@Model.Teacher" />
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="submit" class="btn btn-success pull-right" />
            </td>
        </tr>
    </table>
</form>
